package org.dromara.quickswing.events;

import java.util.HashMap;

public class QSEventData extends HashMap<String, Object> {

    public QSEventData() {
        super(16);
    }

    @SuppressWarnings("all")
    public <T> T get(String key) {
        Object value = super.get(key);
        if (value != null) {
            return (T) value;
        }
        return null;
    }
}
